package com.kgis.map.control.basemaptool.dock.events {

   import flash.events.Event;
   import mx.core.UIComponent;

   public class DockItemEvent extends Event {
      private var _render:UIComponent;
      private var _index:int;
      private var _item:Object;
      public static const DOCK_ITEM_CLICK:String = "dockItemClick";
      public static const DOCK_ITEM_OVER:String = "dockItemOver";
      public static const DOCK_ITEM_OUT:String = "dockItemOut";

      public function DockItemEvent(type:String, render:UIComponent, index:int, item:Object = null) {
         super(type);
         this._render = render;
         this._index = index;
         this._item = item;
      }

      public function get render():UIComponent {
         return this._render;
      }

      public function get index():int {
         return this._index;
      }

      public function get item():Object {
         return this._item;
      }
   }
}